*** INSTRUCTIONS ***

* All results can be reproduced by simply running 0-master if 1-lapop-cleanup.do and 2-lapop-merge.do are stored in same directory as 0-master.

* Due to LAPOP usage agreement, data may not be distributed for replication. Data can be accessed at url: vanderbilt.edu/lapop.

* This code is written for LAPOP Brazil 2008-2014. To run smoothly with this code, name raw data files simply by year, e.g. "2008.dta".

* This code assumes all dta and do files are in the same directory. Be sure to enter the full file path on line 9 of master do file.

* IBOPE data is provided for replicaton purposes only. Researchers must acquire permission from CESOP for research and publication: cesop.unicamp.br.